@headlessui v2
2024/5
提供するComponentが倍ぐらい増えた
The previous component dot-notation has been deprecated in favor of using explicit imports for each individual component. This is to improve compatibility with RSC (React Server Components) and tree-shaking.
RSCとtree-shakingとの互換性を向上させるためらしい
たぶんheadlessui関係なく普遍的な話なのだろうけど、実際のところの理屈を知らない